Started using babel-preset-latest#490
Conversation
|
What about async/await? Do we have the right combination of plugins for it after this change? |
|
According to the source code of babel-preset-es2017, it transforms async/await to generators using |
|
This probably means |
|
|
|
According to the documentation of babel-plugin-transform-regenerator, there are 3 regenerator transform options available: |
|
It looks like the term "async generator" may refer to an old proposal, so it could possibly be left untouched. |
|
Thanks! |
* Started using babel-preset-latest * Updated babel dependencies * Remove redundant babel-plugin-syntax-async-functions * Disabled redundant regenerator transform
* Started using babel-preset-latest * Updated babel dependencies * Remove redundant babel-plugin-syntax-async-functions * Disabled redundant regenerator transform
* Started using babel-preset-latest * Updated babel dependencies * Remove redundant babel-plugin-syntax-async-functions * Disabled redundant regenerator transform
|
Sorry in advance for digging up an old PR, but there's a lot of context here about a particular change in .babelrc that caught my eye, specifically this. I was trying to understand the combination of transforms for async, and I came across this in With the preset already setting |
|
To be honest I don't remember. If this is still relevant can you file an issue? |
No description provided.